package com.aiti.lulian.flow.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * description:
 * auth fcb
 * date 2025-09-04 09:39
 **/
@ApiModel(value = "流程节点定义",description = "")
@TableName(value="card_flow_node_definition")
@Data
public class CardFlowNodeDefinition {

    /** 主键 */
    @ApiModelProperty(name = "主键",notes = "")
    @TableId(value = "base_id",type = IdType.INPUT)
    private String baseId ;

    /** 流程定义id */
    @ApiModelProperty(name = "流程定义id",notes = "")
    @TableField(value = "flow_definition_id")
    private String flowDefinitionId ;

    /** 节点标识。唯一 */
    @ApiModelProperty(name = "节点标识。唯一",notes = "")
    @TableField(value = "node_key")
    private String nodeKey ;

    /** 节点名称 */
    @ApiModelProperty(name = "节点名称",notes = "")
    @TableField(value = "node_name")
    private String nodeName ;

    /** 节点审批人id */
    @ApiModelProperty(name = "节点审批人id",notes = "")
    @TableField(value = "candidate_user_id")
    private String candidateUserId ;

    /** 节点顺序。按该字段指定的顺序执行 */
    @ApiModelProperty(name = "节点顺序。按该字段指定的顺序执行",notes = "")
    @TableField(value = "node_sort")
    private Integer nodeSort ;

    /** 节点类型。start:开始，audit：审批，end：结束 */
    @ApiModelProperty(name = "节点类型。start:开始，audit：审批，end：结束",notes = "")
    @TableField(value = "node_type")
    private String nodeType ;
}
